package com.gxc.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author GongXincheng
 * @since 2019-09-06 09:53
 */
@Data
@Component
@ConfigurationProperties(prefix = "gxc")
public class MyPropertiesConfigBean {

    private String username;
    private String password;
    private Integer age;
    private String desc;

    private Map<String, Object> queue;

}
